
<script type="text/javascript" src="__PUBLIC__/Js/jquery.artDialog.js?skin=default"></script>
<if condition="empty($_GET[parenthost])"><load href="__PUBLIC__/Js/iframeTools.js"/></if>

<load href="__PUBLIC__/Js/my.js"/>
<load href="__PUBLIC__/Js/swfupload.js"/>
<script language="JavaScript">
    <!--
    var ROOT = '';
    var URL = '/index.php/Admin/Index';
    var APP = '/index.php';
    var PUBLIC = '/Public';
    function confirm_delete(url){
        art.dialog.confirm("确认要删除信息吗?", function(){location.href = url;});
    }
    //-->
</script> 
<div class="right">

    <h5 class="title"><b>{:L(USER_POST_ONLINE)}</b></h5>
    <form name="myform" id="myform" action="/index.php?g=User&m=Index&a=del_all" method="post">

        <div class="table-list">
            <table width="100%" cellspacing="0">
                <thead>
                    <tr>
                        <th width="20"><input type="checkbox" value="" id="check_box" onclick="selectall('ids[]');"></th>
                        <th width="30"></th>
                        <th width="30">ID</th>
                        <th>标题</th>
                        <th width="50">状态</th>
                        <th width="30">点击次数</th> 
                        <th width="50">会员名</th>
                        <th width="72">管理</th>
                    </tr>
                </thead>
                <tbody>
                <volist name="list" id="li">
                    <tr>
                        <td  width="20" align="center"><input class="inputcheckbox " name="ids[]" value="{$li.id}" type="checkbox" ></td>
                        <td width="30" align='center'><input name='listorders[{$li.id}]' type='text' size='3' value='0' class='input-text-c'></td>
                        <td align="center">{$li.id}</td>
                        <td>[<font color="green">

                    <volist id="cats" name="cat">
                        <if condition="$cats.id eq $li['catid']">{$cats.catname}</if>
                    </volist>


                    </font>]<a href="{$li.url}"  target="_blank">{$li.title}</a></td>
                    <td align="center"><if condition="$li.status eq 0"> <font color="red">未审核</font><else /><font color="green">审核</font></if></td> 
                    <td align="center">{$li.hits}</td> 
                    <td align="center">{$li.username}</td>
                    <td align="center"><a href="/index.php?g=User&m=Index&a=edit_article&id={$li.id}">修改</a> | <a href="/index.php?g=User&m=Index&a=del_article&id={$li.id}">删除</a></td>
                    </tr>
                </volist></tbody>
            </table>

            <div class="btn"><input type="submit" class="button" name="dosubmit" value="删除" /></div>

        <input type="hidden" name="__hash__" value="e6d14b4f0db631c325579fef4e8a3da1_0912f06c93ebda8c04daabbbf332131d" /></form>
</div>
<div id="pages" class="page">{$page}</div>

